package ilearn.seata.job.java8.buss.client;

import ilearn.seata.job.java8.buss.client.entity.Points;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("account-server")
public interface PointsServiceClient {

    @GetMapping("/increase")
    Points increaase(@RequestParam String accId,@RequestParam Integer change);
}
